<script lang="ts" setup>
import { useRouter, useRoute } from "vue-router";
const router = useRouter();
const route = useRoute();
</script>
<template>
  <div class="sorry container">
    <div class="content">
      <h1 class="header">你的会话已过期。</h1>
      <div class="desc">
        你已有一段时间未进行任何操作，为保护你的信息安全，我们已为你退出了登录的账户。如需再次查看你的账户，请在下方登录。
      </div>
      <div class="sign-in">
        <el-button
          type="primary"
          size="large"
          color="#0071e3"
          :round="true"
          @click="router.push('/login')"
          >登录</el-button
        >
      </div>
    </div>
  </div>
</template>
<style lang="less" scoped>
.container {
  margin-left: auto;
  margin-right: auto;
  width: 980px;
}
.sorry {
  padding: 81px 0 21px 6px;
  .content {
    max-width: 709px;
    .header {
      font-size: 40px;
      line-height: 1.1;
      font-weight: 600;
      letter-spacing: 0;
      font-family: SF Pro SC, SF Pro Display, SF Pro Icons, AOS Icons,
        PingFang SC, Helvetica Neue, Helvetica, Arial, sans-serif;
    }
    .desc {
      margin-top: 13px;
      margin-bottom: 57px;
    }
    .sign-in {
      max-width: 340px;
      margin-bottom: 81px;
      .el-button {
        padding: 24px 0;
        width: 100%;
        font-size: 17px;
        font-family: SF Pro SC, SF Pro Text, SF Pro Icons, AOS Icons,
          PingFang SC, Helvetica Neue, Helvetica, Arial, sans-serif;
      }
    }
  }
}
</style>
